package vip.mall.common.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

/**
 * @author ASUS
 * @Date 2025/2/11 14:19
 * @Descripition 统一封装分页返回结果
 */
@Schema(description = "分页结果")
@Data
@Builder
public class CommonPageResult {
    @Schema(description = "当前页码")
    private Integer pageNum=1;
    @Schema(description = "每页数量")
    private Integer pageSize=10;
    @Schema(description = "总页数")
    private Integer totalPage;
    @Schema(description = "总记录数")
    private Long total;
    @Schema(description = "结果集")
    private Object data;
}
